package com.rowenci.iot_agriculture.bean.MessageToHTML;

/**
 * <p>
 *
 * </p>
 *
 * @author rowenci
 * @date 2019/4/23 10:10
 */
public class ComMessage {

    private Integer id;

    private Integer house_id;

    private String comName;

    private Integer baudrate;

    private String sensor;

    private String last_message;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getHouse_id() {
        return house_id;
    }

    public void setHouse_id(Integer house_id) {
        this.house_id = house_id;
    }

    public String getComName() {
        return comName;
    }

    public void setComName(String comName) {
        this.comName = comName;
    }

    public Integer getBaudrate() {
        return baudrate;
    }

    public void setBaudrate(Integer baudrate) {
        this.baudrate = baudrate;
    }

    public String getSensor() {
        return sensor;
    }

    public void setSensor(String sensor) {
        this.sensor = sensor;
    }

    public String getLast_message() {
        return last_message;
    }

    public void setLast_message(String last_message) {
        this.last_message = last_message;
    }

    @Override
    public String toString() {
        return "ComMessage{" +
                "id=" + id +
                ", house_id=" + house_id +
                ", comName='" + comName + '\'' +
                ", baudrate=" + baudrate +
                ", sensor='" + sensor + '\'' +
                ", last_message='" + last_message + '\'' +
                '}';
    }
}
